package com.loveprogrammer.eternity.skill.support.states;

import com.loveprogrammer.eternity.model.Character;
import com.loveprogrammer.eternity.model.console.ConsolePrint;

import java.util.List;

/**
 * @version 1.0.0
 * @description: 眩晕
 * @author: eric
 * @date: 2022-09-02 11:44
 **/
public class DazeState extends AbstractNegativeState{

    public static int id = 7;

    private long times;

    public DazeState(Character character, List<? extends Character> camp, long times)
    {
        super(character,camp);
        this.times = times;
    }

    @Override
    public int id() {
        return id;
    }

    @Override
    public String name() {
        return "眩晕";
    }

    @Override
    public String desc() {
        return "眩晕";
    }

    @Override
    public void doReset() {

    }

    @Override
    public int counterId() {
        return 93;
    }

    @Override
    public void run() {
        // 如果已经死了就算了
        if(this.getCharacter().checkDead()){
            return;
        }
        // 否则
        else{
            // 啥也不用干
        }
    }

    public long getTimes() {
        return times;
    }
}
